}
// nth-child works just on the custom colors row
-
// hover effect
&:hover {
background-image: linear-gradient(135deg, transparentize(white, 0.3),
&:backdrop { @include button(backdrop); }
.overlay { @include button(undecorated); } // reset the overlay to not cover the button style underneat
}
+
+ // take care of colorswatches on selected elements
+ :selected & {
+ box-shadow: none;
+ &.overlay {
+ border-color: $selected_fg_color;
+ }
+ }
+
}
box-shadow: inset 0 1px rgba(255, 255, 255, 0), 0 1px rgba(238, 238, 236, 0);
text-shadow: none;
icon-shadow: none; }
+ :selected GtkColorSwatch {
+ box-shadow: none; }
+ :selected GtkColorSwatch.overlay {
+ border-color: #ffffff; }
/********
* Misc *
box-shadow: inset 0 1px rgba(255, 255, 255, 0), 0 1px rgba(255, 255, 255, 0);
text-shadow: none;
icon-shadow: none; }
+ :selected GtkColorSwatch {
+ box-shadow: none; }
+ :selected GtkColorSwatch.overlay {
+ border-color: #ffffff; }
/********
* Misc *